<div class="uk-modal-dialog uk-modal-dialog-large">
    <button type="button" class="uk-modal-close uk-close uk-close-alt"></button>
    <h3 ng-hide='newConfigure'>Edit Configure: {{configure.name}}</h3>
    <h3 ng-show='newConfigure'>New Configure</h3>
    <form class="uk-form uk-form-horizontal">
        <fieldset>
            <div ng-show='newConfigure' class="uk-form-row">
                <label class="uk-form-label">Name</label>
                <div class="uk-form-controls">
                    <input type="text" placeholder="Name" ng-model="configure.name" class="uk-width-1-1" />
                </div>
            </div>
            <div class="uk-form-row">
                <label class="uk-form-label">Hostname</label>
                <div class="uk-form-controls">
                    <input type="text" placeholder="Hostname" ng-model="configure.hostname" class="uk-width-1-1" />
                </div>
            </div>
            <div class="uk-form-row">
                <label class="uk-form-label">Port</label>
                <div class="uk-form-controls">
                    <input type="text" placeholder="Port" ng-model="configure.port" class="uk-width-1-1" />
                </div>
            </div>
            <div class="uk-form-row">
                <label class="uk-form-label">Database</label>
                <div class="uk-form-controls">
                    <input type="text" placeholder="Database" ng-model="configure.database" class="uk-width-1-1" />
                </div>
            </div>
            <div class="uk-form-row">
                <label class="uk-form-label">User</label>
                <div class="uk-form-controls">
                    <input type="text" placeholder="User" ng-model="configure.user" class="uk-width-1-1" />
                </div>
            </div>
            <div class="uk-form-row">
                <label class="uk-form-label">Password</label>
                <div class="uk-form-controls">
                    <input type="text" placeholder="Password" ng-model="configure.password" class="uk-width-1-1" />
                </div>
            </div>
            <div class="uk-form-row">
                <p class="uk-float-right">
                    <button type='submit ' class="uk-button uk-button-danger uk-modal-close" ng-click="delete()">Delete</button>
                    <button type='submit ' class="uk-button uk-button-primary uk-modal-close" ng-click="save()">Save</button>
                </p>
            </div>
        </fieldset>
    </form>
</div>
